
package events;

import java.util.EventObject;

public class ScheduleEvent  extends EventObject{

    final String ADD_SCHED_EVENT = "ADD_SCHED_EVENT";
    final String UPDATE_SCHED_EVENT = "UPDATE_SCHED_EVENT";
    final String DELETE_SCHED_EVENT = "DELETE_SCHED_EVENT";
    final String MOVE_SCHED_EVENT = "MOVE_SCHED_EVENT";
    final String ADD_ACTIVITY_EVENT = "ADD_ACTIVITY_EVENT";
    final String UPDATE_ACTIVITY_EVENT = "UPDATE_ACTIVITY_EVENT";
    final String DELETE_ACTIVITY_EVENT = "DELETE_ACTIVITY_EVENT";
    
    private Object data;
    
    public ScheduleEvent(Object source, Object d){
        super(source);
        data = d;
    }
        
    public Object getData(){
        return data;
    }
}
